/* #top模块开始了 */

#top{
	position: relative;
	background-color: #333;
	height: 40px;
	font-size: 12px;
}

#top .goodsNum{
    color:#b0b0b0;
}
#top  a{
	color: #b0b0b0;
	display: inline-block;
	line-height: 40px;
	font-weight: normal;
}


#top  a:hover{
	color: lightgray;
}


#top  span{
	color: #424242;
	font-size: 12px;
	margin: 0 3.5px;
}


#top .left{
	float: left;
}



#top .car{
	display: inline-block;
	width: 120px;
	height: 40px;
	color: #b0b0b0;
	background-color: #424242;
}

#top .car a:hover{
	color: ff6700;
}


#top .car img{
	margin-right: 4px;
	margin-left: 15px;
	vertical-align: top;
	
}

#top .car a{
	display: inline-block;
}


#top .right .uname{
    color:#ff6700
}
#top .right{
	float: right;
}

#top .right p{
	display: inline-block;
	width: 120px;
	height: 40px;
	margin-left: 15px;
}

/* #top模块结束了 */



.main-header{
    width: 1226px;
    margin: 0 auto;
    position: relative;
   
}
.site-header{
    position: relative;
    z-index: 20;
    background: white;
    padding-bottom: 26px;
    /* height: 100px; */
}
.header-logo{
    float: left;
    width: 62px;
    margin-top: 22px;
}
.logo{
    position: relative;
    display: block;
    width: 56px;
    height: 56px;
    overflow: hidden;
    background: url(http://localhost/mi/cart/img/logo.png);
    background-size: contain;   
}
.header-nav{
    float: left;
    width: 850px;
}
.header-nav ul div{
    float: left;
}
.header-nav ul{
    position: relative;
    z-index: 10;
    float: left;
    width: 758px;
    height: 88px;
    margin: 0;
    padding: 12px 0 0 30px;
    list-style-type: none;
    font-size: 16px;
}
.header-nav ul li {
    float: left;
}
.header-nav ul>li:first-of-type {
    width: 127px;
    padding-right: 15px;
    height: 88px;
    text-align: right;
    
}
.header-nav ul>li:first-of-type>a{
    display: block;
    padding: 26px 0 38px;
    text-align: right;
    color: #333;
}
.header-nav ul li a{
    display: block;
    padding: 26px 10px 38px;
    color: #333;
    transition: color .4s;
    background-color: rgba(0,0,0,0);
}
.header-nav ul li a:hover{
    color: #ff6700;
}
.header-search {
    float: right;
    width: 296px;
    margin-top: 25px;
}
.header-search form{
    position: relative;
    width: 296px;
    height: 50px;
    z-index: 20;
}
.header-search form:hover input{
    border-color: #b0b0b0;
}
.header-search input:first-of-type{
    position: absolute;
    top: 0;
    border: 1px solid #e0e0e0;
    outline: 0;
    transition: all .2s;
    right: 51px;
    z-index: 1;
    width: 223px;
    height: 48px;
    padding: 0 10px;
    font-size: 14px;
    line-height: 48px;
    box-sizing: content-box;
}
.header-search input:last-of-type{
    right: 0;
    z-index: 2;
    width: 52px;
    height: 50px;
    font-size: 24px;
    line-height: 24px;
    background: #fff;
    color: #616161;
    position: absolute;
    top: 0;
    border: 1px solid #e0e0e0;
    transition: all .2s;
    outline:0;
}
.header-search input:last-of-type:hover{
    border-color: #ff6700;
    background: #ff6700;
    color: #fff;
}
.header-nav-menu{
    position: absolute;
    top: 100px;
    left: 0;
    display: none;
    height: 229px;
    z-index: 24;
    width: 100%;
    border-top: 1px solid #e0e0e0;
    background: #fff;
    overflow: hidden;
}
.header-nav-menu ul li{
    font-size: 12px;
    position: relative;
    float: left;
    width: 180px;
    padding: 35px 12px 0;
    text-align: center;
}
.header-nav-menu ul li a{
    color: #757575;
}
.header-nav-menu ul li a div{
    width: 160px;
    height: 110px;
    margin: 0 auto 16px;
    text-align: center;
}
.header-nav-menu ul li a img{
    border: 0;
}
.header-nav-menu ul li a p:first-of-type{
    line-height: 20px;
    color: #333;
}
.header-nav-menu ul li a p:last-of-type{
    line-height: 20px;
    color: #ff6700;
}


.site-category{
    position: absolute;
    top: 100px;
    z-index: 21;
    width: 234px;
    height: 460px;
    font-size: 14px;
}

.site-category>ul{
    height: 420px;
    border: 0;
    color: #fff;
    background: rgba(105,101,101,.6);
    padding: 20px 0;
}
.site-category>ul li:hover{
    background-color: #ff6700;
}
.site-category>ul li:hover span{
    color:rgba(255, 255, 255, .4);
}
.site-category>ul li a{
    color: #fff;
    position: relative;
    display: block;
    padding-left: 30px;
    height: 42px;
    line-height: 42px;
}
.site-category>ul li a span{
    position: absolute;
    top: 12px;
    right: 20px;
    font-size: 16px;
    line-height: 16px;
    color: #e0e0e0;
    font-style: normal;
}
    



.header-slide{
    position: relative;
    width:100%;
    height: 460px;
    overflow: hidden;
}
.header-slide span:first-of-type{
    background: url(http://localhost/mi/Home/imgBig/index.png) no-repeat -125px 50%;
    right: 0;
    left: auto;
}
.header-slide span:first-of-type:hover{
    background-position: -42px 50%;
}
.header-slide span:last-of-type{
    left: 234px;
    background: url(http://localhost/mi/Home/imgBig/index.png) no-repeat -84px 50%;
    right: auto;
}
.header-slide span:last-of-type:hover{
    background-position: 0 50%;
}
.header-slide span{
    position: absolute;
    top: 50%;
    width: 41px;
    height: 69px;
    margin-top: -35px;
    z-index: 10;
    cursor: pointer;
    outline: none;
}
.header-slide ul li{
    display: none;
    position: absolute;
}
.header-slide img{
    display: block;
    width: 1226px;
    height: 460px;
    border: 0;
}


.home-hero-sub{
    margin-top: 14px;
    margin-left: -14px;
}
.span4{
    float: left;
    margin-left: 14px;
    min-height: 1px;
    width: 234px;
}
.home-hero-sub .span4 ul{
    margin: 0;
    padding: 3px;
    list-style-type: none;
    font-size: 12px;
    text-align: center;
    background: #5f5750;
}
.home-hero-sub .span4 ul li{
    position: relative;
    float: left;
    width: 70px;
    height: 82px;
    padding: 0 3px;
}
.home-hero-sub .span4 ul li a{
    display: block;
    padding-top: 18px;
    color: #fff;
    opacity: .7;
    transition: opacity .2s;
}
.home-hero-sub .span4 ul li a span{
    display: block;
    width: 24px;
    height: 24px;
    margin: 0 auto 4px;
    font-size: 24px;
    line-height: 24px;
}
.home-hero-sub .span4 ul li a:hover{
    opacity: 1;
}
.home-hero-sub .span16{
    width: 978px;    
    float: left;
    margin-left: 14px;
    min-height: 1px;
}
.home-hero-sub .span16 ul{
    display: flex;
    justify-content: space-between;
}
.home-hero-sub .span16 ul li{
    float: left;
    width: 316px;
    height: 170px;
    transition: box-shadow .2s linear;
}
.home-hero-sub .span16 ul li:hover{
    box-shadow: 0 15px 30px rgba(0,0,0,.1);
}
.home-hero-sub .span16 ul li a{
    display: block;
    height: 170px;
}
.home-hero-sub .span16 ul li a img{
    display: block;
    width: 316px;
    height: 170px;
}

.children{
    display: none;
    width: 892px;
    position: absolute;
    left: 234px;
    top: 0;
    z-index: 24;
    height: 458px;
    border: 1px solid #e0e0e0;
    border-left: 0;
    background: rgb(255, 255, 255);
    box-shadow: 0 8px 16px rgba(0,0,0,.18);
}
.children ul{
    float: left;
    height: 458px;
    margin: 0;
    padding: 2px 0;
    list-style-type: none;
}
.children ul li{
    position: relative;
    float: left;
    width: 265px;
    height: 76px;
}
.children ul li a{
    display: block;
    padding: 18px 20px;
    line-height: 40px;
    color: #333;
    transition: color .2s;
}
.children ul li a img{
    float: left;
    margin-right: 12px;
}
.children ul li a span{
    float: left;
    width: 172px;
    line-height: 40px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    transition: color .2s;
}
.children>ul li a span:hover{
    color: #ff6700;
}
